package cn.tedu.charging.order.pojo.param;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
    public class OrderAddParam {
        @ApiModelProperty(value="用户id")
       // @NotBlank(message = "用户id不为空")
        @NotNull(message = "用户id不为空")
        //@NotEmpty(message = "用户id不为空")
        private   Long userId;
        @ApiModelProperty(value ="充电装编号")
        @NotNull(message = "用户id不为空")
        private   Integer pileId;
        @ApiModelProperty(value = "充电枪编号")
        @NotNull(message = "用户id不为空")
        private   Integer gunId;
    }